package com.sufen.seckill.study.FaceCoding;

/**
 * @Author sufen
 * @Date 2021/12/8 11:28
 * @Version 1.0
 * 功能描述：
 */
public class ValueTransfer {
    public static void sample(int x){
        x=10;
    }

    public static void sample2(Integer x){
        x=Integer.valueOf(10);
    }

    public static void main(String[] args) {
        int s=1;

        sample(s);
        System.out.println(s);


//        sample2(ss);
//        System.out.println(ss);
    }
}
